import "angular";
import "./polyfill";
import { platformBrowser } from "@angular/platform-browser";
import { Ng2AppModule } from "./ngx.module";

// // Bootstrap Angular application AOT
// platformBrowser()
//   .bootstrapModule(AppModule)
//   .then((platformRef) => {
//     // Get the UpgradeModule instance
//     const upgrade = platformRef.injector.get(UpgradeModule);

//     // Bootstrap AngularJS app using the upgrade module
//     upgrade.bootstrap(document.getElementById("ngx-app")!, ["root"], {
//       strictDi: true,
//     });
//   });platformBrowser().bootstrapModule(Ng2AppModule);

platformBrowser().bootstrapModule(Ng2AppModule);
